package shared.mess;

import java.io.Serializable;

/**
 * @author akaovi
 * @createTime 2022/9/17 17:44
 */
public class Content implements Serializable {

    @java.io.Serial
    private static final long serialVersionUID = 68496463345667710L;

    public ContentType type;  // 枚举类
    public byte[] details;

    public String name;

    public Content() {
    }

    public Content(ContentType type, byte[] details) {
        this.type = type;
        this.details = details;
    }

    public Content(ContentType type, byte[] details, String name) {
        this(type, details);
        this.name = name;
    }

}
